package com.fire.control.system.support.protocol.app;

import java.io.File;

import com.fire.control.system.statics.Type_SureWarning;
import com.fire.control.system.support.protocol.comman.RequestProtocol;

/**
 * 
 * @ClassName:  AppRequestProtocol
 * @Description:  app端统一协议
 * @author:  xiechengguang
 * @date:  2017年6月1日 下午5:54:19
 *
 */
public class AppRequestProtocol extends RequestProtocol {

	private static final long serialVersionUID = -2665559950584499134L;

	private String id;      //设备类id(设备，设备组，维保，报警等)
	
	private String[] ids;  //id数组，比如文件id数组
	
	/**
	 * warningType类型及其意义:  fire_alarm("火灾报警"),device_fault("故障报警")
	 */
	private String warningType;
	
	private String warningDesc;   // 报警描述
	
	/**
	 * sureWarning类型及其意义:  fire("火警"),fault("故障"), misinformation("误报");
	 */
	private Type_SureWarning sureWarning;
	
	private String reportType;
	
	private int page;  //分页，当前页码
	
	private int size;  //分页，每页记录数
	
	private int year;  // 查询年
	private int month; // 查询月
	
	private File file;    //文件类型：图片，照片，文件

	
	
	public String getReportType() {
		return reportType;
	}

	public void setReportType(String reportType) {
		this.reportType = reportType;
	}

	public int getYear() {
		return year;
	}

	public void setYear(int year) {
		this.year = year;
	}

	public int getMonth() {
		return month;
	}

	public void setMonth(int month) {
		this.month = month;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public String[] getIds() {
		return ids;
	}

	public void setIds(String[] ids) {
		this.ids = ids;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getWarningDesc() {
		return warningDesc;
	}

	public void setWarningDesc(String warningDesc) {
		this.warningDesc = warningDesc;
	}
	
	public Type_SureWarning getSureWarning() {
		return sureWarning;
	}

	public void setSureWarning(Type_SureWarning sureWarning) {
		this.sureWarning = sureWarning;
	}

	public File getFile() {
		return file;
	}

	public void setFile(File file) {
		this.file = file;
	}

	public String getWarningType() {
		return warningType;
	}

	public void setWarningType(String warningType) {
		this.warningType = warningType;
	}
	
	
	
	
}
